// rollup.config.js
import { uglify } from 'rollup-plugin-uglify'

export default {
  input: './src/index.js',
  output: {
    file: 'dist/imageSize.js',
    format: 'iife',
    name: 'imageSize'
  },
  plugins: [
    uglify()
  ]
};
